package com.example.chatweb.request;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class SavedReport {
    @JsonProperty("user_id")
    private Long userId;
    @JsonProperty("report_id")
    private String reportId;
    private String topic;
    private List<Chapter> chapters;

    // Getters and Setters

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getReportId() {return reportId;  }
    public String getTopic() {  return topic;    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setReportId(String reportId) {
        this.reportId = reportId;
    }

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }

    public static class Chapter {
        private String title;
        private String content;

        // Getters and Setters

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
